/**
 * @Title: Setting
 * @Package cn.com.yiqi.wsc.portal.common
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @author 会员系统组-胥钰淋
 * @date 2017/2/13 10:16
 * @version V1.0
 */
package cn.com.yiqi.wsc.api.common;

import java.io.Serializable;

/**
 *
 *@ClassName: Setting
 * @Description: TODO
 * @author 会员系统组-胥钰淋
 * @date 2017/2/13 10:16
 *
 */
public class Setting implements Serializable {

    private static final long serialVersionUID = 2158205346349189876L;

    /** 缓存名称 */
    public static final String CACHE_NAME = "setting";

    /** 缓存Key */
    public static final Integer CACHE_KEY = 0;

    /**
     * 超级用户
     */
    private String superUser;

    /** Cookie路径 */
    private String cookiePath;

    /** Cookie作用域 */
    private String cookieDomain;

    /** 签到设置 1天 2天 3天及以上 每连续5天 每连续30天*/
    private String  sign1Day;
    private String  sign2Day;
    private String  sign3Day;
    private String  signEvery5Min;
    private String  signEvery5Max;
    private String  signEvery30Min;
    private String  signEvery30Max;

    /** 微信access_token 获取已关注的用户信息*/
    private String accessToken;

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getSign1Day() {
        return sign1Day;
    }

    public void setSign1Day(String sign1Day) {
        this.sign1Day = sign1Day;
    }

    public String getSign2Day() {
        return sign2Day;
    }

    public void setSign2Day(String sign2Day) {
        this.sign2Day = sign2Day;
    }

    public String getSign3Day() {
        return sign3Day;
    }

    public void setSign3Day(String sign3Day) {
        this.sign3Day = sign3Day;
    }

    public String getSignEvery5Min() {
        return signEvery5Min;
    }

    public void setSignEvery5Min(String signEvery5Min) {
        this.signEvery5Min = signEvery5Min;
    }

    public String getSignEvery5Max() {
        return signEvery5Max;
    }

    public void setSignEvery5Max(String signEvery5Max) {
        this.signEvery5Max = signEvery5Max;
    }

    public String getSignEvery30Min() {
        return signEvery30Min;
    }

    public void setSignEvery30Min(String signEvery30Min) {
        this.signEvery30Min = signEvery30Min;
    }

    public String getSignEvery30Max() {
        return signEvery30Max;
    }

    public void setSignEvery30Max(String signEvery30Max) {
        this.signEvery30Max = signEvery30Max;
    }

    /**
     * 获取Cookie路径
     *
     * @return Cookie路径
     */
    public String getCookiePath() {
        return cookiePath;
    }

    /**
     * 设置Cookie路径
     *
     * @param cookiePath
     *            Cookie路径
     */
    public void setCookiePath(String cookiePath) {
        if (cookiePath != null && !cookiePath.endsWith("/")) {
            cookiePath += "/";
        }
        this.cookiePath = cookiePath;
    }

    /**
     * 获取Cookie作用域
     *
     * @return Cookie作用域
     */
    public String getCookieDomain() {
        return cookieDomain;
    }

    /**
     * 设置Cookie作用域
     *
     * @param cookieDomain
     *            Cookie作用域
     */
    public void setCookieDomain(String cookieDomain) {
        this.cookieDomain = cookieDomain;
    }

    public String getSuperUser() {
        return superUser;
    }

    public void setSuperUser(String superUser) {
        this.superUser = superUser;
    }
}
